<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<html lang="pl">  
    <head>
        <jsp:include page="./../util/configurationPage.jsp"/>
        <style type="text/css">
            #inner {
                display: table;
                margin: 0 auto;
            }
            #activeEx {
                background-color : #5CB85C;
                color:#ffffff;
                border: 1px;

            }
            .form-signin {
                max-width: 400px;
                padding: 19px 29px 29px;


            }
            #signinEx {
                max-width: 500px;
                font-size: 16px;
                height: auto;
                margin-bottom: 10px;


            }
            .form-signin input[type="text"],
            .form-signin input[type="password"] {
                font-size: 16px;
                height: auto;
                margin-bottom: 15px;
                padding: 7px 9px;
            }
            .input-group-addon {
                min-width:150px;
                text-align: left;
            }
        </style>

        <script type="text/javascript">
            $(window).on('load', function() {
                $('.selectpicker').selectpicker();
                // $('.selectpicker').selectpicker('hide');
            });
        </script>
    </head>
    <body>
        <jsp:include page="./../navbar/navbarMain.jsp"/>
        <br>

        <div class="container ">
            <div class="col-lg-12">
                <div class="row">
                    <div class="col-lg-3">
                        <jsp:include page="./../navbar/menuBar.jsp"/>
                    </div>
                    <div class="col-lg-9">
                        <div class="panel panel-success">


                            <div class="panel-heading">
                                <h3 class="panel-title">Edycja użytkownika</h3>
                            </div>
                            <div class="panel-body">
                                <form:form method="POST" commandName="commandBean" action="editAccount.htm">

                                    

                                    <div class="input-group"  id="signinEx"  >
                                        <span class="input-group-addon">Hasło</span>
                                        <form:input path="password" type="password" class="form-control"  />
                                    </div>

                                    <div class="input-group"  id="signinEx" >
                                        <span class="input-group-addon">Powtorz hasło</span>
                                        <form:input path="repassword" type="password" class="form-control"  />
                                    </div>


                                    <div class="input-group"  id="signinEx" >
                                        <span class="input-group-addon">Adres email</span>
                                        <form:input path="email" type="text" class="form-control"  />
                                    </div>


                                    <div class="input-group"  id="signinEx" >
                                        <span class="input-group-addon">Imię</span>
                                        <form:input path="firstName" type="text" class="form-control"  />
                                    </div>

                                    <div class="input-group"  id="signinEx" >
                                        <span class="input-group-addon">Nazwisko</span>
                                        <form:input path="lastName" type="text" class="form-control"  />
                                    </div>


                                    <div class="input-group"  id="signinEx" >
                                        <span class="input-group-addon">Adres zamieszkania</span>
                                        <form:input path="address" type="text" class="form-control"  />
                                    </div>

                                    <div class="input-group"  id="signinEx" >
                                        <span class="input-group-addon">Kod pocztowy</span>
                                        <form:input path="postCode" type="text" class="form-control"  />
                                    </div>

                                    <div class="input-group"  id="signinEx" >
                                        <span class="input-group-addon">Miasto</span>
                                        <form:input path="city" type="text" class="form-control" />
                                    </div>

                                    <br>
                                    <button class="btn  btn-primary pull-right" type="submit">Zapisz</button>
                                </form:form>
                            </div> <!-- /container -->

                        </div>
                    </div>
                </div>
            </div>  
        </div>
        <jsp:include page="./../util/footer.jsp"/>
    </body>
</html>


